package io.yunho.webflux.client.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: yunho
 * @date: 2021/5/12 16:57
 * @description: 服务传输之间用json，因此只要保证属性客户端与服务端一致就可以，不需要保证类名一致。
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private String id;

    private String name;

    private int age;
}